/*
* created by Administrator on 2018/12/12
* 好的代码像粥一样,是得用时间和精力熬的。
*/
const model = require('../database/model'); //数据库
const querystring = require('querystring');
const request = require('request'); //发送http请求
const Router = require('koa-router');   //路由中间件
const router = new Router();
//登录接口
router.post('/admin',async(ctx,next)=>{

    await next();
});
//注册接口
router.post('/reg',async(ctx,next)=>{
    await next();
});
module.exports = app => app.use(router.routes());
